package cn.tedu.trading_platform.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
@Data
public class Order {
    private Long id;
    private Long userId;
    private Long merchantId;
    private BigDecimal totalAmount;
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Date paymentTime;
    private String shippingAddress;

}
